#ifndef QTIMEEDITHOST_H
#define QTIMEEDITHOST_H

#include "qabstractspinboxhost.h"

#include <QTime>

namespace SHAREDLIB
{

    class SHAREDLIB_EXPORT QTimeEditHost : public QAbstractSpinBoxHost
    {
        Q_OBJECT
    public:
        QTimeEditHost(QObject *object);

    public slots:
        void    setTime(int hour,int minute,int second);
        int     hour();
        int     minute();
        int     second();

        void    setCurrentSection(int currentSection);
        int     currentSection();
    protected slots:
        void    timeChanged(const QTime &time);
    };

}

#endif // QTIMEEDITHOST_H
